package com.cfets.annualAssessment.util;

/**
 * Created with IntelliJ IDEA.
 * User: HEQUAN
 * Date: 14-3-25
 * Time: 下午2:36
 * To change this template use File | Settings | File Templates.
 */
public class Constant {
    
    public static final String COOKIE_KEY = "p";
//    public static int ENTERMKT_TOTAL = 0;
    public static final String BIRTH_SMS_ID = "17698";
    public static final String OAUTH_OPENID_COOKIE_KEY = "oauth_openId_cookie";
    public static final String USER_ID_COOKIE_KEY = "user_id_cookie";

    public static final Integer REDIS_DB_USER_SESSION=5;
    public static final Integer REDIS_WX_DB=2;
    public static final Integer REDIS_USER_SESSION_EXPIRY=7200;
    public static final Integer REDIS_FRONT_END_PERMISSION_DB=6;
    public static final Integer REDIS_FRONT_END_PERMISSION_EXPIRY=7200;
    public static final String REDIS_WX_ACCESSTOKEN="AccessToken";
    public static final String REDIS_WX_APPID="appId";
    public static final String REDIS_WX_ORIGINID="originId";
    public static final String REDIS_WX_AESKEY="aesKey";
    public static final String REDIS_WX_TOKEN="token";
    public static final String REDIS_WX_APPSECRET="AppSecret";
    public static final Integer REDIS_WX_ACCESSTOKEN_EXPIRY=7200;

    public static final String REDIS_WX_TICKET="ticket";
    public static final Integer REDIS_WX_TICKET_EXPIRY=7200;
    //微信当前域名
    public static String WX_CURRENT_URL;
    //关注后自动回复提示语
    public static final String REDIS_SERVICES_ATTENTION_REPLY = "attentionReply";

    public static final String CMS = "/access";

//    //上线需查看此处配置的准确性
//    public static final String APP = "http://online1.chinamoney.com.cn";//生产服务器
////    public static final String APP = "http://online.chinamoney.com.cn";//测试服务器
////    public static final String APP = "http://localhost:8080";//用于本地测试修改
//cfetsonline发布
    public static final String WX_TEMP_APPID = "1111";
    public static final String WX_TEMP_SECRETID = "49d208f9aac0966351b6955a68820fb5";
}
